package maxEntClassifier;

public class Timer {
	
	long timeStart=0;
	long timeInterval=0;
	
	public void start(){
		timeStart=System.currentTimeMillis();
	}
	
	public void pause(){
		timeInterval+=System.currentTimeMillis()-timeStart;
		//System.out.println("haha "+(System.currentTimeMillis()-timeStart)+"   ");
	}
	
	public long getInterval(){
		return timeInterval;
	}
}
